import request from '@/utils/request'

// 查询用户经历列表
export function listSysUserExperience(query) {
  return request({
    url: '/system/sysUserExperience/list',
    method: 'get',
    params: query
  })
}

// 查询用户经历详细
export function getSysUserExperience(id) {
  return request({
    url: '/system/sysUserExperience/' + id,
    method: 'get'
  })
}

// 新增用户经历
export function addSysUserExperience(data) {
  return request({
    url: '/system/sysUserExperience',
    method: 'post',
    data: data
  })
}

// 修改用户经历
export function updateSysUserExperience(data) {
  return request({
    url: '/system/sysUserExperience',
    method: 'put',
    data: data
  })
}

// 删除用户经历
export function delSysUserExperience(id) {
  return request({
    url: '/system/sysUserExperience/' + id,
    method: 'delete'
  })
}
